package com.xiaomengkuan.product.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @author Faraj Mujey
 * -- Creation Time: 2021-01-26 7:20 下午, File Encoding: utf8 --
 */
@Data
@ToString
@TableName(value = "scp_picture")
public class Picture {
    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty("id")
    private String id;
    @ApiModelProperty("图片地址")
    private String url;
    @ApiModelProperty("图片类型(0主图、1细节图)")
    private int type;
    private String productId;
}
